< previous page page_217 next page >

Page 217
You also learned that Crystal Reports Pro recognizes three types of fields on the report form:
· Database fields: These fields are from attached data tables.
· Text fields: These fields are made up of literal text created by the user.
· Formula fields: These fields are calculated fields created by the user.
You also learned how to use the Crystal Reports Pro Control to run a report from within your Visual Basic 5 program. Finally, you created the Print Report dialog box, which lets you control the report destination, the file type, and the number of copies printed.
Quiz
1. List and describe each of the three bands in a Crystal Report.
2. To which database types can Crystal Reports Pro attach?
3. How do you insert text directly on a Crystal Reports Pro design form?
4. How do you produce mailing labels in Crystal Reports Pro?
5. In Crystal Reports Pro, can you browse data contained in a database that you are using for a report?
6. How do you insert selection criteria in a Crystal Reports Pro report?
7. How do you join tables in Crystal Reports Pro?
Exercises
1. Write a formula that can be used in Crystal Reports Pro to count the number of records in a list of last names. Assume a field name of NameLast.
2. Write a formula to display a list of vendors that have not supplied their federal tax ID numbers to your accounting manager. This information is stored in a field named EmployerID.
3. Build a Crystal Reports Pro report using the BOOKS5.MDB database that can be found in the TYSDBVB5\SOURCE\DATA directory of the CD that shipped with this book. Before starting, select File | Options, select the New Report tab, and de-select the Use Report Gallery for new reports option. Include the following items in your report:
e7ae6bd512ad4c3583017fcda52f57ae.gif
· Insert the fields PubID, Publisher, and Comments from the PublisherComments table.
e7ae6bd512ad4c3583017fcda52f57ae.gif
· Modify the page to print in landscape mode.

 
< previous page page_217 next page >

If you like this book, buy it!